<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../../demo/lib/element-plus/index.css">

</head>
<body>

<div id="app">



     <el-table :data="list">
         <el-table-column prop="name" label="姓名"></el-table-column>
     </el-table>

</div>
</body>
<script src="../../lib/axios.js"></script>
<script src="../../lib/vue.global.js"></script>
<script src="../../../demo/lib/element-plus/index.full.js"></script>
<script>

  var app=  Vue.createApp({
        data(){
            return {
                 list:[]
            }
        },mounted(){

          axios({
              url: 'http://localhost:63342/htmldemo/vue/mock/db.json',
              method: 'get',
              dataType: 'json'
          }).then(res => this.list = res.data.users);


      }
    });



  app.use(ElementPlus).mount('#app');


</script>
</html>